##
## Makefile for  in /home/guicqu_g//rush/epikong/etape_1
## 
## Made by gallien guicquero
## Login   <guicqu_g@epitech.net>
## 
## Started on  Fri Mar 25 20:30:50 2011 gallien guicquero
## Last update Sat Mar 26 13:47:51 2011 gallien guicquero
##

NAME	=	epikong_etape_1

OBJ	=	./src/get_next_line.o		\
		./src/map.o			\
		./src/window.o			\
		./src/hook.o			\
		./src/libmlx.o			\
		./src/tex.o			\
		./src/main.o


CC	=	gcc

CFLAGS	=	-W -Wall -Werror -ansi -pedantic $(DFLAGS) $(OFLAGS) $(GFLAGS) $(IFLAGS)

DFLAGS	=	-D_BSD_SOURCE

IFLAGS	=	-I./inc/

OFLAGS	=	

LFLAGS	=	-lXext -lX11 -lmlx

GFLAGS	=	-ggdb

RM	=	rm -f 


$(NAME)	:	$(OBJ)
	$(CC) -o $(NAME) $(OBJ) $(LFLAGS)

all	:	$(NAME)

clean	:
	$(RM) $(OBJ) *~ \#*\# ./src/*~ ./inc/*~

fclean	:	clean
	$(RM) $(NAME)

re	:	fclean all
